package com.gy.universities.dao;
import com.gy.universities.entity.StudySchool;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudySchoolMapper {
	//根据id查询
	public StudySchool getStudySchoolById(@Param(value = "id") String id)throws Exception;

	public List<StudySchool>	getStudySchoolListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudySchoolCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudySchool(StudySchool studySchool)throws Exception;

	public Integer updateStudySchool(StudySchool studySchool)throws Exception;

	public Integer deleteStudySchoolById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudySchool(Map<String,List<String>> params);

}
